<h1>Ems contents List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Title</th>
      <th>Thumbnail</th>
      <th>Author</th>
      <th>Summary</th>
      <th>Is enabled</th>
      <th>Can comment</th>
      <th>Type</th>
      <th>Section</th>
      <th>Created at</th>
      <th>Updated at</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($ems_contents as $ems_content): ?>
    <tr>
      <td><a href="<?php echo url_for('pruebacontent_show',$ems_content) ?>"><?php echo $ems_content->getId() ?></a></td>
      <td><?php echo $ems_content->getTitle() ?></td>
      <td><?php echo $ems_content->getThumbnail() ?></td>
      <td><?php echo $ems_content->getAuthor() ?></td>
      <td><?php echo $ems_content->getSummary() ?></td>
      <td><?php echo $ems_content->getIsEnabled() ?></td>
      <td><?php echo $ems_content->getCanComment() ?></td>
      <td><?php echo $ems_content->getTypeId() ?></td>
      <td><?php echo $ems_content->getSectionId() ?></td>
      <td><?php echo $ems_content->getCreatedAt() ?></td>
      <td><?php echo $ems_content->getUpdatedAt() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

